package com.dxf.common.utils;

/**
 * @Description: 全局常量
 */
public class GlobalConstant {
    //注册邮件标题
    public final static String   EMAIL_VERIFICATION_TITLE="注册邮箱验证";
    //发送邮箱邮箱
    public final static String   EMAIL_SETFROM="2496918528@qq.com";
    //登陆状态过期时间 30分钟
    public final static Integer  REDIS_SAVE_TIME=30*60;
    //登陆状态建议更新时间 《=10分钟
    public final static Integer  REDIS_EXPIRE_TIME=10*60;
    //签名加密
    public final static String   JWT_SECRET="ilovewangjun";
    //签名过期时间 1000*60*60 =60分钟
    public final static Long     JWT_EXPIRATION= Long.valueOf(1000*60*60);
    //默认每页数据
    public final static Integer  PAGE_SIZE=8;
    //图片验证码key
    public final static String   CAPTCHA_SESSION_KEY="CaptchaCode_key";
    //前端验证码name,为了封装到对象中
    public final static String   CAPTCHA_IMG="vercode";
    //前端验证码name,为了封装到对象中
    public final static String   ACCESS_TOKEN="access_token";
    //学生评教类型id
    public final static Long  STUDENT_TYPE_ID= Long.valueOf(3);
    //教师自评类型id
    public final static Long  TEACHER_ZERO_SELF_TYPE_ID= Long.valueOf(4);
    //教师互评类型id
    public final static Long  TEACHER_ZERO_MUTUAL_TYPE_ID= Long.valueOf(2);
    //室主任评教类型id
    public final static Long  TEACHER_ONE_TYPE_ID= Long.valueOf(5);
    //系主任评教类型id
    public final static Long  TEACHER_TWO_TYPE_ID= Long.valueOf(1);

}
